home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / cperf-21.lha / cperf-2.1 / src / prototype.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-11  |  234 b   |  16 lines

  1. #ifndef _prototype_h
  2. #define _prototype_h
  3. #ifdef __STDC__
  4. #define P(X) X
  5. #else
  6. #define P(X) ()
  7. #endif
  8.  
  9. typedef char bool;
  10. #define FALSE 0
  11. #define TRUE 1
  12.  
  13. #define ODD(X) ((X) & 1)
  14. #define EVEN(X) (!((X) & 1))
  15. #endif /* _prototype_h */
  16.